package com.dsr.dao;

import com.dsr.entity.RoleAndModel;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * (RoleAndModel)表数据库访问层
 *
 * @author dsr
 * @since 2020-09-26
 */
public interface RoleAndModelDao extends Mapper<RoleAndModel> {
    void deleteByRoleId( @Param("roleId")String roleId);
    void insertModelAndRoles( @Param("modelList")List<RoleAndModel> modelList);
    List<String> getAuth( @Param("roleId")String roleId);
}